package com.study.ceph.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * ceph配置文件
 */
@Data
@Configurable
@Component
public class CephConfig {

    @Value("${ceph.access.key:DPL0TY9V83B5V17MRH02}")
    private String accessKey;

    @Value("${ceph.secret.key:54cRu9cH3V7bvmbih2uljEZDm3dHoGrvnyEpYbAa}")
    private String secretKey;

    @Value("${ceph.endpoint:http://oss.bj1.bigtree.tech}")
    private String endpoint;

    @Value("${ceph.signer:S3SignerType}")
    private String signer;

    @Value("${ceph.signing:cn-north-1}")
    private String signing;

    @Value("${ceph.bucket.name:btscfp2}")
    private String bucketName;

}
